package com.yq.ylmall.model.activity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.yq.ylmall.enums.activity.ActivityType;
import com.yq.ylmall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author cherry
 * @since 2024-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("activity_info")
@ApiModel(value="ActivityInfo对象", description="活动表")
public class ActivityInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动类型（1：满减，2：折扣）")
    private ActivityType activityType;

    @ApiModelProperty(value = "活动描述")
    private String activityDesc;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;


}
